<%@ page language="java" pageEncoding="UTF-8"
	contentType="text/html; charset=utf-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>幸福兄弟盐城拼购第一网</title>
		<meta name="description"
			content="幸福兄弟盐城拼购第一网www.9898sj.com是幸福兄弟营销策划有限公司旗下品牌项目。幸福兄弟盐城拼购第一网是专门针对建材、家具、电器进行同城拼购的一个网站。将全城千万消费者聚拢在一起，用量来获得最低的购买价格。网站聚集了全城1000个知名优质品牌，消费者足不出户就能完成对盐城建材、家具、电器市场进行最深刻的了解，通过拼购网购买是免费的，消费者不需要花一分钱就能实现最省钱、省心、舒心的购买。幸福兄弟盐城拼购第一网将帮助1000个优质品牌企业最大程度的宣传全城，帮助品牌企业好的口碑得到良好的传播，从而实现最好的销售。希望幸福兄弟盐城拼购第一网能为您的幸福生活、您的成功带来帮助！幸福生活，从拼购开始。公司地址，盐城市南城河路9号（迎宾桥北桥头东侧）；联系电话：0515-88175689  88175528" />
		<meta name="keywords"
			content="幸福兄弟，幸福兄弟盐城拼购第一网，幸福兄弟拼购，幸福兄弟拼购网，盐城拼购，盐城拼购，盐城建材拼购，盐城家具拼购，盐城电器拼购，建材拼购，家具拼购，电器拼购" />
		<meta http-equiv="pragma" content="no-cache" />
		<meta http-equiv="cache-control" content="no-cache" />
		<meta http-equiv="expires" content="0" />
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3" />
		<meta http-equiv="description" content="This is my page" />
		<link href="<%=basePath%>resource/css/css.css" rel="stylesheet"
			type="text/css" />
		<script src="<%=basePath%>resource/js/jquery-1.4.2.js"></script>
		<script>
<!--
/*第一种形式 第二种形式 更换显示样式*/
function setTab(m,n){
 var tli=document.getElementById("menu"+m).getElementsByTagName("li");
 var mli=document.getElementById("main"+m).getElementsByTagName("ul");
 for(i=0;i<tli.length;i++){
  tli[i].className=i==n?"hover":"";
  mli[i].style.display=i==n?"block":"none";
 }
}

var nowDate = new Date();
var year = nowDate.getFullYear();
var month = nowDate.getMonth()+1;
var month2 = month + 1;
var year2 = month2 > 12?(year+1):year;
month2 = month2 > 12?(month2-12):month2;
var month3 = month + 2;
var year3 = month3 > 12?(year+1):year;
month3 = month3 > 12?(month3-12):month3;
var month4 = month + 3;
var year4 = month4 > 12?(year+1):year;
month4 = month4 > 12?(month4-12):month4;
var month5 = month + 4;
var year5 = month5 > 12?(year+1):year;
month5 = month5 > 12?(month5-12):month5;
var month6 = month + 5;
var year6 = month6 > 12?(year+1):year;
month6 = month6 > 12?(month6-12):month6;


var month7 = month + 6;
var year7 = month7 > 12?(year+1):year;
month7 = month7 > 12?(month7-12):month7;

var month8 = month + 7;
var year8 = month8 > 12?(year+1):year;
month8 = month8 > 12?(month8-12):month8;

var month9 = month + 8;
var year9 = month9 > 12?(year+1):year;
month9 = month9 > 12?(month9-12):month9;

var month10 = month + 9;
var year10 = month10 > 12?(year+1):year;
month10 = month10 > 12?(month10-12):month10;

var month11 = month + 10;
var year11 = month11 > 12?(year+1):year;
month11 = month11 > 12?(month11-12):month11;

var month12 = month + 11;
var year12 = month12 > 12?(year+1):year;
month12 = month12 > 12?(month12-12):month12;



function InitSwitchObj() {
	IMGLIST = $("#IMG_UL_LIST_1");
	IMGLIST2 = $("#IMG_UL_LIST_2");
	IMGINDEX = $("#IMG_INDEX_UL_LIST_1");
	IMGINDEX2 = $("#IMG_INDEX_UL_LIST_2");
	MAXINDEX = IMGLIST.find("li").length;
	MAXINDEX2 = IMGLIST2.find("li").length;
	currIndex = 0;
	currIndex2 = 0;
	currImgIndex = IMGINDEX.find("li:eq(" + currIndex + ")");
	currImgLi = IMGLIST.find("li:eq(" + currIndex2 + ")");
	currImgIndex2 = IMGINDEX2.find("li:eq(" + currIndex + ")");
	currImgLi2 = IMGLIST2.find("li:eq(" + currIndex2 + ")");
	currImgLi.show();
	currImgLi2.show();
	interValTime = 3000;
	fadeInTime = 800;
	fadeOutTime = 1000;
	ImageAutoSwitch();
	ImageManualSwitch();
	ImageStopSwitch();
}


        //執行時間
var interValTime = 0;
        //下一張圖片顯示時間
var fadeInTime = 0;
        //上一張圖片的消失時間
var fadeOutTime = 0;
        //保存當前圖片定時的對象
var imageTimer = null;
        //當前的索引
var currIndex = null;
var currIndex2 = null;
        //當前圖片的所以
var currImgIndex = null;
var currImgIndex2 = null;
        //當前圖片
var currImgLi = null;
var currImgLi2 = null;
        //記錄需要切換的圖片集合
var IMGLIST = null;
var IMGLIST2 = null; 
        //記錄需要切換的圖片集合的索引。
var IMGINDEX = null;
var IMGINDEX2 = null;
        //最大圖片個數
var MAXINDEX = null;
var MAXINDEX2 = null;
        //自動定時切換。
function ImageAutoSwitch() {
	if (imageTimer != null) {
		clearInterval(imageTimer);
	}
	imageTimer = setInterval("IntervalImage()", interValTime);
}
        //手動切換圖片
function ImageManualSwitch() {
	IMGINDEX.find("li").each(function (i) {
		$(this).hover(function () {
			if (imageTimer != null) {
				clearInterval(imageTimer);
			}
			currIndex = i;
			ImageSwitchChange();
		}, function () {
			ImageAutoSwitch();
		});
	});
	IMGINDEX2.find("li").each(function (i) {
		$(this).hover(function () {
			if (imageTimer != null) {
				clearInterval(imageTimer);
			}
			currIndex2 = i;
			ImageSwitchChange();
		}, function () {
			ImageAutoSwitch();
		});
	});
}
        //鼠標放到圖片上的換，停止切換
function ImageStopSwitch() {
	IMGLIST.find("li").each(function () {
		$(this).hover(function () {
			if (imageTimer != null) {
				clearInterval(imageTimer);
			}
		}, function () {
			ImageAutoSwitch();
		});
	});
	IMGLIST2.find("li").each(function () {
		$(this).hover(function () {
			if (imageTimer != null) {
				clearInterval(imageTimer);
			}
		}, function () {
			ImageAutoSwitch();
		});
	});
}
        //自动切换图片
function IntervalImage() {
	currIndex = parseFloat(currIndex);
	currIndex = currIndex + 1;
	currIndex2 = parseFloat(currIndex2);
	currIndex2 = currIndex2 + 1;
            //如果切換到最大數量的時候則從頭開始
	if (currIndex >= MAXINDEX) {
		currIndex = 0;
	}
	if (currIndex2 >= MAXINDEX2) {
		currIndex2 = 0;
	}
            //將原來的現實圖片索引的背景透明
	ImageSwitchChange();
}
        //切換圖片的時候，響應的圖片要實現漸變效果
function ImageSwitchChange() {
	if (currImgIndex != null) {
		currImgIndex.css({"background-color":"transparent"});
	}
	currImgIndex = IMGINDEX.find("li:eq(" + currIndex + ")");
	imgLi = IMGLIST.find("li:eq(" + currIndex + ")");
	currImgIndex.css({"background-color":"#999999"});
	if (currImgLi != null) {
		currImgLi.fadeOut(fadeOutTime, function () {
			imgLi.fadeIn(fadeInTime);
		});
	}
	currImgLi = imgLi;
	if (currImgIndex2 != null) {
		currImgIndex2.css({"background-color":"transparent"});
	}
	currImgIndex2 = IMGINDEX2.find("li:eq(" + currIndex2 + ")");
	imgLi2 = IMGLIST2.find("li:eq(" + currIndex2 + ")");
	currImgIndex2.css({"background-color":"#999999"});
	if (currImgLi != null) {
		currImgLi2.fadeOut(fadeOutTime, function () {
			imgLi2.fadeIn(fadeInTime);
		});
	}
	currImgLi2 = imgLi2;
}


function showOffice(id,type){
   go('proShow.shtml?id='+id+'&searchPro='+type);
}
function tosecondBd(id,type){
   go('secondBd/showBuliding.shtml?tpsId='+id+'&menuIndex='+type);
}
function showdcxtx(id,type){
   go('proShow.shtml?id='+id+'&searchPro='+type);
}
function showBulid(id,type){
   go('building/toBuidingInfo.shtml?id='+id);
}




/**
*minvalue:最小值
*maxvalue:最大值
*type:搜索类型：1<= 2>= 3between
*/
function searchByNaviga(text,proType){
	var minValue = '';
	var maxValue = '';
	var type = '';
	var aryStr = bulidValue(minValue,maxValue,text,type);
	var ary = aryStr.split("@");
	minValue = ary[0];
	maxValue = ary[1];
	type = ary[2];
	window.location.href='searchByPrice.shtml?minValue='+minValue+'&maxValue='+maxValue+'&type='+type+'&proType='+proType;
}

var initFlag = true;
function bulidPagnation(totalcount,limit,page,id,renderId,nowId,endId){
	var previewPageStr = '<span class="disabled">&lt;</span>';
	var nextPageStr = '<span><a href="#?page=2">&gt;</a></span>';
	var currentPageStr = '<span class="current">1</span>';
	var showPageStr = '<a href="#?page=2">2</a>';
	var totalPages = (totalcount + limit - 1) / limit;
	var startPage = nowId;
	var endPage = startPage+4;
	if(page>=4)
		if((page - nowId)>=3){
			startPage = page - 2;
			endPage = startPage + 4;
		} 
	if(nowId != 1)
		if((endId-page)>=3){
			startPage = page - 2;
			endPage = startPage + 4;
		}
	if(endPage > totalPages){
		endPage = totalPages;
		nextPageStr = '<span class="disabled">&gt;</span>';
	}else{
		nextPageStr = '<a href="javascript:bulidPagnation('+totalcount+','+limit+','+(page+1)+',\''+id+'\',\''+renderId+'\','+startPage+','+endPage+')">&gt;</a>';
	}
	if(startPage > 1){
		previewPageStr = '<a href="javascript:bulidPagnation('+totalcount+','+limit+','+(page-1)+',\''+id+'\',\''+renderId+'\','+startPage+','+endPage+')">&lt</a>';
	}
	var str = previewPageStr;
	for(var i = startPage;i <= endPage; i++){
		if(i == page)
			str += '<span class="current">'+i+'</span>';
		else
			str += '<a href="javascript:bulidPagnation('+totalcount+','+limit+','+(i)+',\''+id+'\',\''+renderId+'\','+startPage+','+endPage+')">'+i+'</a>';
	}
	str += nextPageStr;
	$('#'+renderId).html(str);
	if(!initFlag)
		$.get('information/information_findAllInformation.shtml?pageNo='+page+'&limit='+limit+'&categoryId='+id,function(mes){
			var json = eval('('+mes+')');
			var str = '';
			for(var i = 0; i < json.length; i++){
				str+='<div class="r-2"><nobr><a target="_blank" href="information/information_searchPingGouAndBrand.shtml?id='+json[i]['id']+'">[';
				if(json[i]['content']==''){
				  str+=json[i]['imgUrl'];
				}else{
                   str+=json[i]['content'];
				}
				str+=']'+json[i]['title']+'</a></nobr></div>';
			}
			$('#zxlb_'+id).html(str);
		})
}


function reflashTime(time,id){
	var days = time.substring(3,time.indexOf("天"));
	var hours = time.substring(time.indexOf("天")+1,time.indexOf("小时"))
	var seconds = time.substring(time.indexOf("小时")+2,time.indexOf("分"))
	var minutes = time.substring(time.indexOf("分")+1,time.indexOf("秒"))
	if(days == 0){
		if(hours == 0){
			if(seconds == 0){
				if(minutes == 0){
					$('#'+id).html("已过期")
				}else{
					writeTime(days,hours,seconds,minutes,id);
				}
			}else{
				if(minutes == 0){
					seconds = seconds - 1;
					minutes = 59;
					writeTime(days,hours,seconds,minutes,id);
				}else{
					writeTime(days,hours,seconds,minutes,id);
				}
			}
		}
		else{
			if(seconds == 0){
				hours = hours - 1;
				seconds = 59
				if(minutes == 0){
					seconds = seconds - 1;
					minutes = 59;
					writeTime(days,hours,seconds,minutes,id);
				}else{
					minutes = minutes - 1;
					writeTime(days,hours,seconds,minutes,id);
				}
			}else{
				if(minutes == 0){
					seconds = seconds - 1;
					minutes = 59;
					writeTime(days,hours,seconds,minutes,id);
				}else{
					minutes = minutes - 1;
					writeTime(days,hours,seconds,minutes,id);
				}
			}
		}
	}else{
		if(hours == 0){
			hours = 23;
			days = days -1;
			if(seconds == 0){
				hours = hours - 1;
				seconds = 59
				if(minutes == 0){
					seconds = seconds - 1;
					minutes = 59;
					writeTime(days,hours,seconds,minutes,id);
				}else{
					minutes = minutes - 1;
					writeTime(days,hours,seconds,minutes,id);
				}
			}else{
				if(minutes == 0){
					seconds = seconds - 1;
					minutes = 59;
					writeTime(days,hours,seconds,minutes,id);
				}else{
					minutes = minutes - 1;
					writeTime(days,hours,seconds,minutes,id);
				}
			}
		}
		else{
			if(seconds == 0){
				hours = hours - 1;
				seconds = 59
				if(minutes == 0){
					seconds = seconds - 1;
					minutes = 59;
					writeTime(days,hours,seconds,minutes,id);
				}else{
					minutes = minutes - 1;
					writeTime(days,hours,seconds,minutes,id);
				}
			}else{
				if(minutes == 0){
					seconds = seconds - 1;
					minutes = 59;
					writeTime(days,hours,seconds,minutes,id);
				}else{
					minutes = minutes - 1;
					writeTime(days,hours,seconds,minutes,id);
				}
			}
		}
	}
	setTimeout("reflashTime('剩余："+days+"天"+hours+"小时"+seconds+"分"+minutes+"秒','"+id+"')",1000)
}

function writeTime(day,hours,second,minute,id){
	var str = "剩余：";
	if(day > 0)
		str += day+"天";
	if(hours > 0)
		str += hours+"小时";
	if(second > 0)
		str += second + "分";
	if(minute > 0)
		str += minute + "秒";
	$('#'+id).html(str);
}

function hidePg(id,obj){
	var display_value;
	var liObj1 = $("#"+id+"_1,#"+id+"_2,#"+id+"_3,#"+id+"_4,#"+id+"_5,#"+id+"_6");
	var liObj2 = $("#"+id+"_7,#"+id+"_8,#"+id+"_9,#"+id+"_10,#"+id+"_11,#"+id+"_12");
	var vv = $("#"+id+"_1").css("display");
	if(vv=="block"||vv==undefined||vv=="list-item"){
		liObj1.css('display','none');
		liObj2.css('display','block');
		obj.src='<%=basePath%>resource/img/index/ca_hz_003.jpg';
	}else{
		liObj2.css('display','none');
		liObj1.css('display','block');
		obj.src='<%=basePath%>resource/img/index/ca_hz_002.jpg';
	}
}
</script>
	</head>
	<body id="top" onload="InitSwitchObj()">
	<jsp:include page="../eva_img.jsp"></jsp:include>
			<jsp:include page="top.jsp"></jsp:include>
			<div id="content">
				<div id="left">
					<div class="left-1">
						<div id="tabs1">
							<div class="menu1box">
								<ul id="menu1">
									<li class="hover" onmouseover="setTab(1,0)">
										<a href="#">拼购导航</a>
									</li>
									<li onmouseover="setTab(1,1)">
										<a href="#">热门活动</a>
									</li>
								</ul>
								<span class="menu-r">至今日：共有<s:property
										value="#totalCount" />人参加了拼购抢购&nbsp;&nbsp;&nbsp;&nbsp;</span>

							</div>
							<div class="main1box">
								<div class="main" id="main1">
									<ul class="block">
										<table width="642" border="0" cellspacing="0" cellpadding="0">
											<s:iterator value="#categoryList">
												<tr>
													<td colspan="3" height="2px"
														style="background: url(resource/img/index/k-2.jpg)"></td>
												</tr>
												<tr>
													<td width="75" align="center" valign="top">
														<div class="kuai">
															<a
																href="showCategory.shtml?categoryId=<s:property value="children.get(0).id"/>&pid=<s:property value="id" />"><s:property
																	value="name" /> </a>
														</div>
													</td>
													<td width="2" align="center" valign="top"
														style="line-height: 26px">
														|
													</td>
													<td align="left">
														<div class="daohang-list">
															<s:iterator value="children" status="stat" var="child">
																<a
																	href="showCategory.shtml?categoryId=<s:property value="#child.id"/>&pid=<s:property value="pid" />"><s:property
																		value="#child.name" />&nbsp;&nbsp;</a>
															</s:iterator>
														</div>
													</td>
												</tr>
											</s:iterator>
										</table>
									</ul>
									<ul>
										<li>
											<div class='img-swith-main'>
												<div class="img-switch">
													<ul id="IMG_UL_LIST_1">
														<s:iterator value="#hotActivityList">
															<li>
																<a target="_blank"
																	href="information/information_searchPingGouAndBrand.shtml?id=<s:property value='id'/>"><img
																		src="<s:property value="imgUrl"/>" />
																</a>
															</li>
														</s:iterator>
													</ul>
												</div>
												<div class='img-switch-index'>
													<ul id="IMG_INDEX_UL_LIST_1">
													<s:iterator value="#hotActivityList" status="stat">
														<s:if test="#stat.index == 0">
															<li id="li_index_default2" style="background-color: #aaa;">
														</s:if>
														<s:else>
															<li>
														</s:else>
																			0<s:property value="#stat.index+1" />
														</li>
													</s:iterator>
													</ul>
												</div>
												<div class='img-switch-clear'>
												</div>
											</div>
										</li>
									</ul>
								</div>
							</div>
						</div>
					</div>

					<s:iterator value="#categoryList" var="category">
						<div class="left-2" style="height: auto">
							<table width="658" border="0" cellspacing="0" cellpadding="0">
								<tr>
									<td height="33px" align="left">
										<div class="left-2-1">
											<span style="color: #0067ce"><s:property value="name" />
											</span>-热门拼购
										</div>
										<div class="left-2-2">
											<span class="menu-r">至今日：共有<s:property value="count" />人参加了<s:property
													value="name" />的拼购抢购&nbsp;&nbsp;&nbsp;&nbsp;</span>
										</div>
									</td>
								</tr>
								<tr>
									<td height="38px">
										<div class="left-2-3"><nobr>
										
											<ul>
												<s:iterator value="#brandHotMap.get(#category.id)">
													<li>
														<a target="_blank" title="<s:property value="name" />"
															href="brand/detailShoper.shtml?id=<s:property value="id" />"><s:property
																value="name" /> </a>
													</li>
												</s:iterator></nobr>
											</ul>
										</div>
									</td>
								</tr>
								<tr>
									<td>
										<div class="left-2-4">
											<ul>
												<s:iterator value="#pingouMap.get(#category.id)">
													<li>
														<table width="658" border="0" cellspacing="0"
															cellpadding="0">
															<tr>
																<td width="75px" height="36px" align="left"
																	valign="middle">
																	<div class="left-2-5">
																		&nbsp;
																		<a target="_blank"
																			href="brand/detailShoper.shtml?id=<s:property value="brandId" />&categoryId=<s:property value="categoryId"/>">我要拼购</a>
																	</div>
																</td>
																<td width="112px">
																	<div class="left-tu">
																		<a target="_blank"
																			href="brand/detailShoper.shtml?id=<s:property value="brandId" />&categoryId=<s:property value="categoryId"/>">
																			<s:if test="activityFlag == 1">
																	  <img name="act" src="<%=basePath%>resource/img/index/activity.gif"
																			style="position: absolute;width:110px;height:34px;margin-left:0;" />
																	</s:if>	
																	<img
																				src="<s:property value="imgSrc" />" width="110"
																				height="34" /></a>
																	</div>
																</td>
																<td>
																	<div class="left-2-7">
																		<ul>
																			<s:if test="%{count1 > 10}">
																				<li class="huo"
																					id="pg_<s:property value="brandId" />_1">
																			</s:if>
																			<s:else>
																				<li id="pg_<s:property value="brandId" />_1">
																			</s:else>
																			<script>document.write(year+'-'+month+'月')</script>
																			<br />
																			<s:if test="%{count1 > 10}">
																				<font color="red"><s:property value="count1" />人</font>
																			</s:if>
																			<s:else>
																				<s:property value="count1" />人</s:else>
																			</li>
																			<s:if test="%{count2 > 10}">
																				<li class="huo"
																					id="pg_<s:property value="brandId" />_2">
																			</s:if>
																			<s:else>
																				<li id="pg_<s:property value="brandId" />_2">
																			</s:else>
																			<script>document.write(year2+'-'+month2+'月')</script>
																			<br />
																			<s:if test="%{count2 > 10}">
																				<font color="red"><s:property value="count2" />人</font>
																			</s:if>
																			<s:else>
																				<s:property value="count2" />人</s:else>
																			</li>
																			<s:if test="%{count3 > 10}">
																				<li class="huo"
																					id="pg_<s:property value="brandId" />_3">
																			</s:if>
																			<s:else>
																				<li id="pg_<s:property value="brandId" />_3">
																			</s:else>
																			<script>document.write(year3+'-'+month3+'月')</script>
																			<br />
																			<s:if test="%{count3 > 10}">
																				<font color="red"><s:property value="count3" />人</font>
																			</s:if>
																			<s:else>
																				<s:property value="count3" />人</s:else>
																			</li>
																			<s:if test="%{count4 > 10}">
																				<li class="huo"
																					id="pg_<s:property value="brandId" />_4">
																			</s:if>
																			<s:else>
																				<li id="pg_<s:property value="brandId" />_4">
																			</s:else>
																			<script>document.write(year4+'-'+month4+'月')</script>
																			<br />
																			<s:if test="%{count4 > 10}">
																				<font color="red"><s:property value="count4" />人</font>
																			</s:if>
																			<s:else>
																				<s:property value="count4" />人</s:else>
																			</li>
																			<s:if test="%{count5 > 10}">
																				<li class="huo"
																					id="pg_<s:property value="brandId" />_5">
																			</s:if>
																			<s:else>
																				<li id="pg_<s:property value="brandId" />_5">
																			</s:else>
																			<script>document.write(year5+'-'+month5+'月')</script>
																			<br />
																			<s:if test="%{count5 > 10}">
																				<font color="red"><s:property value="count5" />人</font>
																			</s:if>
																			<s:else>
																				<s:property value="count5" />人</s:else>
																			</li>
																			<s:if test="%{count6 > 10}">
																				<li class="huo"
																					id="pg_<s:property value="brandId" />_6">
																			</s:if>
																			<s:else>
																				<li id="pg_<s:property value="brandId" />_6">
																			</s:else>
																			<script>document.write(year6+'-'+month6+'月')</script>
																			<br />
																			<s:if test="%{count6 > 10}">
																				<font color="red"><s:property value="count6" />人</font>
																			</s:if>
																			<s:else>
																				<s:property value="count6" />人</s:else>
																			</li>

																			<s:if test="%{count7 > 10}">
																				<li class="huo"
																					id="pg_<s:property value="brandId" />_7"
																					style="display: none">
																			</s:if>
																			<s:else>
																				<li id="pg_<s:property value="brandId" />_7"
																					style="display: none; color: #536F50">
																			</s:else>
																			<script>document.write(year7+'-'+month7+'月')</script>
																			<br />
																			<s:if test="%{count7 > 10}">
																				<font color="red"><s:property value="count7" />人</font>
																			</s:if>
																			<s:else>
																				<s:property value="count7" />人</s:else>
																			</li>
																			<s:if test="%{count8 > 10}">
																				<li class="huo"
																					id="pg_<s:property value="brandId" />_8"
																					style="display: none">
																			</s:if>
																			<s:else>
																				<li id="pg_<s:property value="brandId" />_8"
																					style="display: none; color: #536F50">
																			</s:else>
																			<script>document.write(year8+'-'+month8+'月')</script>
																			<br />
																			<s:if test="%{count8 > 10}">
																				<font color="red"><s:property value="count8" />人</font>
																			</s:if>
																			<s:else>
																				<s:property value="count8" />人</s:else>
																			</li>
																			<s:if test="%{count9 > 10}">
																				<li class="huo"
																					id="pg_<s:property value="brandId" />_9"
																					style="display: none">
																			</s:if>
																			<s:else>
																				<li id="pg_<s:property value="brandId" />_9"
																					style="display: none; color: #536F50">
																			</s:else>
																			<script>document.write(year9+'-'+month9+'月')</script>
																			<br />
																			<s:if test="%{count9 > 10}">
																				<font color="red"><s:property value="count9" />人</font>
																			</s:if>
																			<s:else>
																				<s:property value="count9" />人</s:else>
																			</li>
																			<s:if test="%{count10 > 10}">
																				<li class="huo"
																					id="pg_<s:property value="brandId" />_10"
																					style="display: none">
																			</s:if>
																			<s:else>
																				<li id="pg_<s:property value="brandId" />_10"
																					style="display: none;; color: #536F50">
																			</s:else>
																			<script>document.write(year10+'-'+month10+'月')</script>
																			<br />
																			<s:if test="%{count10 > 10}">
																				<font color="red"><s:property value="count10" />人</font>
																			</s:if>
																			<s:else>
																				<s:property value="count10" />人</s:else>
																			</li>
																			<s:if test="%{count11 > 10}">
																				<li class="huo"
																					id="pg_<s:property value="brandId" />_11"
																					style="display: none">
																			</s:if>
																			<s:else>
																				<li id="pg_<s:property value="brandId" />_11"
																					style="display: none;; color: #536F50">
																			</s:else>
																			<script>document.write(year11+'-'+month11+'月')</script>
																			<br />
																			<s:if test="%{count11 > 10}">
																				<font color="red"><s:property value="count11" />人</font>
																			</s:if>
																			<s:else>
																				<s:property value="count11" />人</s:else>
																			</li>
																			<s:if test="%{count12 > 10}">
																				<li class="huo"
																					id="pg_<s:property value="brandId" />_12"
																					style="display: none">
																			</s:if>
																			<s:else>
																				<li id="pg_<s:property value="brandId" />_12"
																					style="display: none; color: #536F50">
																			</s:else>
																			<script>document.write(year12+'-'+month12+'月')</script>
																			<br />
																			<s:if test="%{count12 > 10}">
																				<font color="red"><s:property value="count12" />人</font>
																			</s:if>
																			<s:else>
																				<s:property value="count12" />人</s:else>
																			</li>
																			<li style="width: 41px;">
																				<img
																					src="<%=basePath%>resource/img/index/ca_hz_002.jpg"
																					style="cursor: pointer; margin-top: 6px"
																					onclick="hidePg('pg_<s:property value="brandId" />',this)" />
																			</li>
																		</ul>

																	</div>
																</td>
																<td width="64px">
																	<div class="left-2-6">
																		总计
																		<br />
																		<s:property value="countAll" />
																		人
																	</div>
																</td>
															</tr>
														</table>
													</li>
												</s:iterator>
											</ul>
										</div>

										<div class="left-3">
											<div class="left-3-1">
												<span style="color: #0067ce"><s:property value="name" />
												</span>-限时抢购
											</div>
											<div class="left-3-2">
												<a target="_blank"
													href="./goods/goods_moreGoods.shtml?brandId=<s:property value='id'/>&typeId=0&categoryId=<s:property value='id'/>"></a>
											</div>
										</div>
									</td>
								</tr>
								<tr>
									<td height="160px" align="left" valign="top"
										style="padding-top: 9px">

										<ul class="left-4">
											<s:iterator value="#hotGoodMap.get(#category.id)">
												<li>
													<table width="153" height="160px" cellspacing="0"
														cellpadding="0">
														<tr>
															<td height="30px" align="left" valign="top">
																<div class="left-4-1">
																	<nobr>
																	<a target="_blank"
																		href="tgBrandMember/pingQiang.shtml?id=<s:property value="id"/>&categoryId=<s:property value="categoryId"/>"
																		title="<s:property value="name"/>"><s:property
																			value="name" />
																	</a>
																	</nobr>
																</div>

															</td>
														</tr>
														<tr>
															<td height="107" align="left">
																<div class="left-4-2">
																	<s:if test="joinCount > 10">
																		<img src="<%=basePath%>resource/img/index/hot34.gif"
																			style="position: absolute; " />
																	</s:if>
																	<a target="_blank"
																		href="tgBrandMember/pingQiang.shtml?id=<s:property value="id"/>&categoryId=<s:property value="categoryId"/>"
																		title="<s:property value="name"/>"><img
																			src="<s:property value="imgSrc"/>" width="153"
																			height="107" />
																	</a>
																</div>
															</td>
														</tr>
														<tr>
															<td>
																<div class="left-4-3">
																	<table width="153" border="0" cellspacing="0"
																		cellpadding="0">
																		<tr>
																			<td height="20px" colspan="2" align="center"
																				style="font-size: 12px">
																				原价:<s:property value="priceFormat" />
																				抢购价:<span
																					style="color: #ff3300; font-size: 12px; font-weight: 600"><s:property
																						value="uppriceFormat" />
																				</span>
																			</td>
																		</tr>
																		<tr>
																			<td width="68px" height="31" align="left"
																				valign="top">
																				<div class="left-4-4">
																					<a target="_blank"
																						href="tgBrandMember/pingQiang.shtml?id=<s:property value="id"/>&categoryId=<s:property value="categoryId"/>">&nbsp;去看看</a>
																				</div>
																			</td>
																			<td>
																				已有
																				<s:if test="joinCount > 10">
																					<font color="red"><s:property
																							value="joinCount" />
																					</font>
																				</s:if>
																				<s:else>
																					<s:property value="joinCount" />
																				</s:else>
																				人参与
																			</td>
																		</tr>
																		<tr>
																			<td height="17" colspan="2" align="center">
																				<span id="rtime_<s:property value="id"/>"><script>
																			reflashTime('<s:property value="activeTime"/>','rtime_<s:property value="id"/>');
																		</script>
																				</span>
																			</td>
																		</tr>
																	</table>

																</div>
															</td>
														</tr>
													</table>
												</li>
											</s:iterator>
										</ul>
									</td>
								</tr>
							</table>
						</div>
					</s:iterator>

				</div>
				<div id="right">
					<div id="right-1">
						<div class="r-px1">
							<h1>
								全站热点
							</h1>
						</div>
						<div class="r-px2">
							<div class="r-tu">
								<div class='img-swith-main'>
									<div class="img-switch">
										<ul id="IMG_UL_LIST_2">
											<s:iterator value="#imgInfoList">
												<li>
													<a target="_blank"
														href="information/information_searchPingGouAndBrand.shtml?id=<s:property value='id'/>"><img
															src="<s:property value="imgUrl"/>" />
													</a>
												</li>
											</s:iterator>
										</ul>
									</div>
									<div class='img-switch-index'>
										<ul id="IMG_INDEX_UL_LIST_2">
											<s:iterator value="#imgInfoList" status="stat">
												<s:if test="#stat.index == 0">
													<li id="li_index_default2" style="background-color: #aaa;">
												</s:if>
												<s:else>
													<li>
												</s:else>
																	0<s:property value="#stat.index+1" />
												</li>
											</s:iterator>
										</ul>
									</div>
									<div class='img-switch-clear'>
									</div>
								</div>
							</div>
							<div class="px320px">
								<s:iterator value="#hotInfoMap" status="stat">
									<div class="r-1">
										<div class="r-1-1" >
											<a target="_blank"
												href="information/information_searchPingGouAndBrand.shtml?id=<s:property value="id"/>"><s:property
													value="title" escape="false" />
											</a>
										</div>
										<div class="r-1-2">
											<a target="_blank"
												href="information/information_searchPingGouAndBrand.shtml?id=<s:property value="id"/>"><s:property
													value="contentDesc" escape="false" />
											</a>
										</div>
									</div>
								</s:iterator>
							</div>

							<div class="r-tu1">
								<ul>
									<s:iterator value="#hotTrend" var="hotTrend">
										<li>
											<div class="r-tu2">
												<a target="_blank"
													href="brand/detailShoper.shtml?id=<s:property value="#hotTrend.id" />&categoryId=<s:property value="#hotTrend.cid"/>"><img
														src="<s:property value="#hotTrend.imgsrc" />" width="98"
														height="46" />
												</a>
											</div>
										</li>
									</s:iterator>
								</ul>
							</div>

						</div>

					</div>
					<s:iterator value="#categoryList" var="category">
						<div id="right-2">
							<div class="r-px1">
								<h1>
									<s:property value="name" />
									资讯
								</h1>
								<div class="yahoo" id="zx_<s:property value='#category.id'/>">
									<script>bulidPagnation(parseInt('<s:property value="#category.informationCount"/>',10),16,1,'<s:property value='#category.id'/>','zx_<s:property value='#category.id'/>',1,5)</script>
								</div>
							</div>
							<div class="r-px3">
								<div class="px320px-1"
									id="zxlb_<s:property value='#category.id'/>">
									<s:iterator value="#informationMap.get(#category.id)">
										<div class="r-2">
											<nobr>
											<a target="_blank" title="<s:property value="contentShort"	 />"
												href="information/information_searchPingGouAndBrand.shtml?id=<s:property value="id"/>">
												[<s:if test="content==null"><s:property value="imgUrl"/></s:if><s:else><s:property	value="content" /></s:else>]<s:property value="title"
													escape="false" />
											</a>
											</nobr>
										</div>
									</s:iterator>
								</div>
								<div class="r-tu1">
									<ul>
										<s:iterator value="#hotTrendCategory.get(#category.id)"
											var="htc">
											<li>
												<div class="r-tu2">
													<a target="_blank"
														href="brand/detailShoper.shtml?id=<s:property value="id" />&categoryId=<s:property value="#htc.cid" />"><img
															src="<s:property value="imgsrc" />" width="98"
															height="46" />
													</a>
												</div>
											</li>
										</s:iterator>
									</ul>
								</div>
							</div>

						</div>
					</s:iterator>
				</div>
			</div>
			<center> <iframe src="<%=basePath%>index/footer.jsp" width="970" height="120" frameborder="0" scrolling="no"></iframe> </center>
			
	</body>
	<script>
		initFlag = false;
		var hotObj = $(".left-2-7 .huo");
		hotObj.each(function(){
		var html =$(this).html();
			$(this).html('<img src="<%=basePath%>resource/img/index/hot_1.gif" class="hotImg" />'+html);
		});
		
				var browser = {};  
    var userAgent = navigator.userAgent.toLowerCase();  
    var s;  
    (s = userAgent.match(/msie ([\d.]+)/))  
            ? browser.ie = s[1]  
            : (s = userAgent.match(/firefox\/([\d.]+)/))  
                    ? browser.firefox = s[1]  
                    : (s = userAgent.match(/chrome\/([\d.]+)/))  
                            ? browser.chrome = s[1]  
                            : (s = userAgent.match(/opera.([\d.]+)/))  
                                    ? browser.opera = s[1]  
                                    : (s = userAgent  
                                            .match(/version\/([\d.]+).*safari/))  
                                            ? browser.safari = s[1]  
                                            : 0;  
    var version = "";  
    if (browser.ie) {  
        version = "msie " + browser.ie;  
    } else if (browser.firefox) {  
        version = "firefox " + browser.firefox; 
    } else if (browser.chrome) {  
        version = "chrome " + browser.chrome; 
        if(browser.chrome=='18.0.966.0')
        $("img[name='act']").css("margin-left","-55px");
    } else if (browser.opera) {  
        version = "opera " + browser.opera;  
    } else if (browser.safari) {  
        version = "safari " + browser.safari;  
    } else {  
        version = "未知浏览器";  
    }  
		
		
	</script>
</html>
